<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="js/vue.min.js"></script>
    <title>Mustache语法</title>
</head>
<body>
<div id="app">
    <h2>{{message}}</h2>
    <h2 v-once>{{message}}</h2>
    <pre>控制台输入app.message="hello2",使用v-once标签不会改变 </pre>

</div>
</body>
<script>
    const app = new Vue({
        el:"#app",
        data:{
            message:"HelloVueJs",
            firstName:"Rng",
            lastName:"xiaoHu",
            count:100
        }
    });

</script>
</html>